package com.by.app;

import com.by.annotion.Autowired;
import com.by.annotion.Component;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/8 20:52
 * @注释
 */
@Component
public class UserServiceImpl implements UserService{
    @Autowired
    private UserRepository userRepository;
    @Override
    public void addUser() {
        userRepository.save("Java真好");
    }
}
